package com.snailcatmall.www.service.impl;

import com.snailcatmall.www.dao.DbAdminMapper;
import com.snailcatmall.www.domain.DbAdmin;
import com.snailcatmall.www.service.DbAdminService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Service
@Transactional
public class DbAdminServiceImpl implements DbAdminService {
    @Resource
    private DbAdminMapper dbAdminMapper;
    @Override
    public void insertSave(DbAdmin dbAdmin) {
        dbAdminMapper.insertSave(dbAdmin);
    }
}
